package demo01.WaitAndNotify;

public class main {
    public static void main(String[] args) {
        BaoZi bz = new BaoZi();
        bz.flag = true;
   /*     RunnableImpl runnable = new RunnableImpl(bz);
        Thread t=new Thread(runnable);
        t.start();*/
  /*      new Thread(new RunnableImpl(bz)).start();
        new BaoZiPu(bz).start();
        new ChiHuo(bz).start();*/
    }
}
